package com.zy.thread.ticket;

/**
 * @Author Gong
 * @Description
 * @dATE 2021/12/13 14:44
 **/
public class Window  implements Runnable {
    @Override
    public void run() {
        for (int i = 1; i <= 100; i++) {
            if (i % 2 == 0) {
                System.out.println(Thread.currentThread().getName() + ":" + i);
            }
        }
    }

}